#ifndef _DRIVER_H
#define _DRIVER_H

#include <cnix/tty.h>
#include <cnix/console.h>
#include <cnix/ide.h>
#include <cnix/timer.h>
#include <cnix/buffer.h>

extern struct console_struct consoles[];

extern void console_init(struct tty_struct *, int);
extern void select_console(int);

extern void do_tty_interrupt(void);

extern void ide_init(void);
extern int ide_rw_block(int, struct buf_head *);
extern int ramdisk_rw_block(int rw_mode, struct buf_head * buf);

extern void ll_bio(struct buf_head *bh);
#endif
